package com.example.dish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 套餐
 * </p>
 *
 * @author sjz
 * @since 2024-06-30
 */
@Getter
@Setter
@TableName("tb_setmeal")
@Schema(name = "Setmeal对象", description = "套餐")
public class Setmeal implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId("id")
    private String id;

    @Schema(description = "菜品分类id")
    @TableField("category_id")
    private String categoryId;

    @Schema(description = "套餐名称")
    @TableField("name")
    private String name;

    @Schema(description = "套餐价格")
    @TableField("price")
    private BigDecimal price;

    @Schema(description = "状态 0:停用 1:启用")
    @TableField("status")
    private Integer status;

    @Schema(description = "编码")
    @TableField("code")
    private String code;

    @Schema(description = "描述信息")
    @TableField("description")
    private String description;

    @Schema(description = "图片")
    @TableField("image")
    private String image;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "创建人")
    @TableField("create_user")
    private String createUser;

    @Schema(description = "修改人")
    @TableField("update_user")
    private String updateUser;

    @Schema(description = "是否删除")
    @TableField("is_deleted")
    private Integer isDeleted;
}
